package com.bean.entity;

import java.io.Serializable;

/**
 * 科目表实体类
 */
public class SubjectInfo implements Serializable {

    private Integer id;
    private String subjectName;

    @Override
    public String toString() {
        return "SubjectInfo{" +
                "id=" + id +
                ", subjectName='" + subjectName + '\'' +
                '}';
    }

    public SubjectInfo() {
    }

    public SubjectInfo(Integer id) {
        this.id = id;
    }

    public SubjectInfo(String subjectName) {
        this.subjectName = subjectName;
    }

    public SubjectInfo(Integer id, String subjectName) {
        this.id = id;
        this.subjectName = subjectName;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSubjectName() {
        return subjectName;
    }

    public void setSubjectName(String subjectName) {
        this.subjectName = subjectName;
    }
}
